<td  align="center"><?php echo $rs->TagID; ?></td>
<td  align="center"><?php echo $rs->Title; ?></td>
<td  align="center"><?php echo date('Y-m-d', $rs->AddTime);?></td>
<td  align="center"><?php echo TagModel::getStatusHtml($rs->Status); ?></td>
<td  align="center"><?php echo $rs->Sorting; ?></td>
<td align="center">
<?php  
     $op = array();
    if(RBAC::authenticate('delete')){
      $op[] = '<a class="J_ajax_del" href="'.AdminBase::U("delete",array('id'=>$rs->TagID)).'" >删除</a>';
    } 
    if(RBAC::authenticate('showGoods')){
      $op[] = '<a class="J_dialog" width="1000" height="600" href="'.AdminBase::U("showGoods",array('id'=>$rs->TagID)).'" >查看商品</a>';
    } 
    if(RBAC::authenticate('update')){
      $op[] = '<a class="" href="'.AdminBase::U("update",array('id'=>$rs->TagID)).'" >修改</a>';
    }     
    $op = implode('|', $op);
    echo $op;
?>   
</td>
